import NavigateComponent from "component/navigate/NavigateComponent";
import {useNavigate} from "react-router-dom";
import Hyacinth from "global/Hyacinth";
//
// export default function NavigatePage(){
//     // const navigate = useNavigate();
//     // Hyacinth.getInstance().setNavigate(navigate);
//     return NavigateComponent;
// }
import React from 'react';

const NavigatePage = () => {
    Hyacinth.getInstance().setNavigate(useNavigate());
    return (
        <NavigateComponent/>
    );
};

export default NavigatePage;